package com.markerhub.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.apache.commons.collections4.iterators.PeekingIterator;
import org.springframework.data.annotation.Id;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Calendar;

/**
 * @author jsx on 2023/2/13
 * 健康商品
 **/
@Data
@TableName("sys_goods")
public class SysGoods {

    // 主键
    @TableId(value = "id",type = IdType.ASSIGN_ID)
    private String id;

    // 关联商店
    @TableField(value = "shop_id")
    private String shopId;

    // 商品名称
    @TableField(value = "name")
    private String name;

    // 早饭内容
    @TableField(value = "breakfast")
    private String breakfast;

    // 午饭内容
    @TableField(value = "lunch")
    private String lunch;

    //晚饭内容
    @TableField(value = "dinner")
    private String dinner;

    //描述
    @TableField(value = "description")
    private String description;

    //价格
    @TableField(value = "money")
    private Integer money;

    //商店名称
    @TableField(exist = false)
    private String shopName;

    //商店描述
    @TableField(exist = false)
    private String  shopDescription;

    //记录Id
    @TableField(exist = false)
    private String InfoId;

    //购物时间
    @TableField(exist = false)
    private String createTime;

    @TableField(exist = false)
    private String num;

    @TableField(exist = false)
    private String logisticsStatus;

    @TableField(exist = false)
    private String address;

    @TableField(exist = false)
    private String buyer;

    @TableField(value = "img")
    private String img;

    @TableField(value = "breakfastimg")
    private String breakfastimg;

    @TableField(value = "lunchimg")
    private String lunchimg;

    @TableField(value = "dinnerimg")
    private String dinnerimg;
}
